package com.sdy.kzyy.biz.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.sdy.common.utils.DateUtil;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * <p>
 * 注释
 * </p>
 *
 * @author fb
 * @since 2020/3/3
 */
@Data
@Accessors(chain = true)
@ApiModel(value = "个人预约记录")
public class OrderRecordDTO {

    /**
     * id
     */
    @ApiModelProperty(value = "id")
    private Integer id;

    /**
     * 姓名
     */
    @ApiModelProperty(value = "姓名")
    private String name;

    /**
     * 身份证
     */
    @ApiModelProperty(value = "身份证")
    private String orderCard;

    /**
     * 下单时间
     */
    @ApiModelProperty(value = "下单时间")
    @JsonFormat(pattern = DateUtil.DATETIME_FORMAT)
    private Date orderTime;

    /**
     * 药店名
     */
    @ApiModelProperty(value = "药店名")
    private String storeName;

    /**
     * 地区名称
     */
    @ApiModelProperty(value = "地区名称")
    private String areaName;

    /**
     * 自提网点
     */
    @ApiModelProperty(value = "自提网点")
    private String selfInitiatedNetwork;

    /**
     * 药店详细地址
     */
    @ApiModelProperty(value = "药店详细地址")
    private String address;

    /**
     * 网点地址
     */
    @ApiModelProperty(value = "网点地址")
    private String dotAddress;

    /**
     * 可领取口罩时间
     */
    @ApiModelProperty(value = "可领取口罩时间")
    private String appointTime;

    @ApiModelProperty(value = "周一~周日")
    private String week;

    @ApiModelProperty(value = "拼接日时间字段")
    private String weekTime;

    /**
     * 领取时间
     */
    @ApiModelProperty(value = "领取时间")
    @JsonFormat(pattern = DateUtil.DATETIME_FORMAT)
    private Date receiveTime;

    /**
     * 订单状态 1-失效，2-有效
     */
    @ApiModelProperty(value = "订单状态 1-失效，2-有效")
    private Integer orderStatus;

    /**
     * 领取状态 1-未领取，2-已领取
     */
    @ApiModelProperty(value = "领取状态 1-未领取，2-已领取")
    private Integer receiveStatus;

}
